<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
	<title>Message from {shop_name}</title>
</head>
<body>
<table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
	<tbody>
		<tr>
			<td align="left"><a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" /></a></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="left">
			<p>Здравей <strong style="color:#DB3484;">{firstname} {lastname}</strong>,</p>

			<p>Благодарим ти, че пазарува от&nbsp;<strong>{shop_name}</strong>.</p>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Информация за поръчката</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="left">Поръчка: <strong><span style="color:#DB3484;">{order_name}</span> направена на {date}</strong><br />
			Плащане: <strong>{payment}</strong></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="left">{products} {discounts}
			<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;"><!-- Title -->
				<tbody>
					<tr style="background-color:#B9BABE; text-align:center;">
						<th style="width:15%; padding: 0.6em 0;">Реф.</th>
						<th style="width:35%; padding: 0.6em 0;">Продукти</th>
						<th style="width:15%; padding: 0.6em 0;">Ед. цена</th>
						<th style="width:15%; padding: 0.6em 0;">Количество</th>
						<th style="width:20%; padding: 0.6em 0;">Крайна цена</th>
					</tr>
					<!-- Products --><!-- Footer: prices -->
					<tr style="text-align:right;">
						<td>&nbsp;</td>
						<td colspan="3" style="background-color:#B9BABE; padding:0.6em 0.4em;">Продукти</td>
						<td style="background-color:#B9BABE; padding:0.6em 0.4em;">{total_products}</td>
					</tr>
					<tr style="text-align:right;">
						<td>&nbsp;</td>
						<td colspan="3" style="background-color:#EBECEE; padding:0.6em 0.4em;">Отстъпки</td>
						<td style="background-color:#EBECEE; padding:0.6em 0.4em;">{total_discounts}</td>
					</tr>
					<tr style="text-align:right;">
						<td>&nbsp;</td>
						<td colspan="3" style="background-color:#EBECEE; padding:0.6em 0.4em;">Опаковка</td>
						<td style="background-color:#EBECEE; padding:0.6em 0.4em;">{total_wrapping}</td>
					</tr>
					<tr style="text-align:right;">
						<td>&nbsp;</td>
						<td colspan="3" style="background-color:#DDE2E6; padding:0.6em 0.4em;">Доставка</td>
						<td style="background-color:#DDE2E6; padding:0.6em 0.4em;">{total_shipping}</td>
					</tr>
					<tr style="text-align:right; font-weight:bold;">
						<td>&nbsp;</td>
						<td colspan="3" style="background-color:#F1AECF; padding:0.6em 0.4em;">Тотал за плащане</td>
						<td style="background-color:#F1AECF; padding:0.6em 0.4em;">{total_paid}</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Доставка</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="left">Доставчик: <strong>{carrier}</strong></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
			<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;">
				<tbody>
					<tr style="background-color:#B9BABE; text-transform:uppercase;">
						<th style="text-align:left; padding: 0.3em 1em;">адрес за доставка</th>
						<th style="text-align:left; padding: 0.3em 1em;">адрес на фактура</th>
					</tr>
					<tr>
						<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">{delivery_company}<br />
						<span style="color:#DB3484; font-weight:bold;">{delivery_firstname} {delivery_lastname}</span><br />
						{delivery_address1}<br />
						{delivery_address2}<br />
						{delivery_city} {delivery_postal_code}<br />
						{delivery_country} {delivery_state}<br />
						{delivery_phone}<br />
						{delivery_other}</td>
						<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">{invoice_company}<br />
						<span style="color:#DB3484; font-weight:bold;">{invoice_firstname} {invoice_lastname}</span><br />
						{invoice_address1}<br />
						{invoice_address2}<br />
						{invoice_city} {invoice_postal_code}<br />
						{invoice_country} {invoice_state}<br />
						{invoice_phone}<br />
						{invoice_other}</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="left">Можеш да прегледаш поръчката си и да свалиш фактурата към нея от секция <a href="{shop_url}history.php" style="color:#DB3484; font-weight:bold; text-decoration:none;">&quot;История на поръчките&quot;</a> в потребителския си профил на <a href="{shop_url}my-account.php" style="color:#DB3484; font-weight:bold; text-decoration:none;">&quot;Моят профил&quot;</a>.</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;"><a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a></td>
		</tr>
	</tbody>
</table>
</body>
</html>
